package com.thirteen.app.dto.PaperWithScoreResponse;

import com.thirteen.app.dto.PaperRespose.ChoiceDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "考试记录试卷问题")
public class QuestionWithScoreDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "选项列表", required = true)
    private List<ChoiceDto> choicesList;

    @ApiModelProperty(value = "问题ID", required = true)
    private Integer questionId;

    @ApiModelProperty(value = "类型", required = true)
    private Integer questionType;

    @ApiModelProperty(value = "分数", required = true)
    private Integer score;

    @ApiModelProperty(value = "标题", required = true)
    private String content;

    @ApiModelProperty(value = "答案数量", required = true)
    private Integer answerCount;

    @ApiModelProperty(value = "已做答答案", required = true)
    private String answer;

    @ApiModelProperty(value = "是否正确", required = true)
    private Boolean isRight;

    @ApiModelProperty(value = "标准答案", required = true)
    private String solution;

    @ApiModelProperty(value = "解析", required = true)
    private String analysis;

    @ApiModelProperty(value = "得分", required = true)
    private Integer actualScore;
}
